﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace proyectoFinalPDS
{
    public partial class Splash : Form
    {
       

        public Splash()
        {
            InitializeComponent();
            this.FormBorderStyle = FormBorderStyle.None; ;
            this.StartPosition = FormStartPosition.CenterScreen;


            tiempo.Interval = 20;
            tiempo.Enabled = true;
        }

        private void tiempo_Tick(object sender, EventArgs e)
        {
            if (barraProgeso.Value > 98)
            {
                tiempo.Stop();
                this.Close();
            }
            
            barraProgeso.Value++;

        }
    }
}
